<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<form action="<%=request.getContextPath() %>/ddm/editUser" method="post">
<input type="hidden" name="id" value="${user.id}">
				<table class="centered-table">		        	
		        	<tr>		        	
		        		<th><label class="tn-form-label">用户名：</label> </th>
		        		<td><input class="tn-textbox" type="text" name="username" value="${user.username}"></td>
		        	</tr>
		        	<tr>
		        		<th><label class="tn-form-label">密码：</label> </th>
		        		<td><input class="tn-textbox" type="password" name="password" value="${user.password}"></td>
		        	</tr>
		        	<tr>
		        		<th><label class="tn-form-label">开始时间：</label></th>
		        		<td><input class="tn-textbox" type="date" name="stime"  value="${user.stime}"></td>
		        	</tr>
		        	<tr>		        	
		        		<th><label class="tn-form-label">结束时间：</label> </th>
		        		<td><input class="tn-textbox" type="date" name="otime" value="${user.otime}"></td>
		        	</tr>
		        	<tr>		        	
		        		<th><label class="tn-form-label">用途：</label> </th>
		        		<td><input class="tn-textbox" type="text" name="shiyong" value="${user.shiyong}"></td>
		        	</tr>
		        	<tr>		        	
		        		<th><label class="tn-form-label">车牌号：</label> </th>
		        		<td><input class="tn-textbox" type="text" name="message" value="${user.message}"></td>
		        	</tr>
		        	
		        	<tr>		        		
		        		<td colspan="2"><input type="submit" value="提交"  class="tn-button-text"> 
		        		<input type="button" value="取消"  class="tn-button-text"  onclick="goBack()"></td>
		        	</tr>		       
		        </table>
			</form>
</body>
</html>